<div id = "event_info">
<div id = "date">
	Title: <%=h @entertainment.title %> <br />
</div>
<div id = "ent_event">
	<%= write_date @entertainment.start %> <br />
	Uploaded by: <a href="mailto:<%=h @entertainment.mail.to_s %>" ><%=h @entertainment.mail %></a> <br />
	<% if @user.email == @entertainment.mail || @user.privilege == 1 %>
		<%= link_to_remote "Delete event", 		:update => "entertainmentBody", 
														:url => {:action => 'destroy', 
														:controller => 'entertainment', 
														:entertainment => @entertainment, 
														:how_many_days => 7}, 
														:confirm => 'Are you sure?' %>
		<br />
		<%= link_to  "Edit event", 	:action => 'edit', 
														:controller => 'entertainment', 
														:id => @entertainment.id %>
		<br />
	<%end%>
		<br />
		<%= link_to 'Back', :action => 'show', :controller => "entertainment", :how_many_days => 7, :is_it_ajax => 0 %>
		<br />
		<br />
</div>
</div>				